<?php

namespace app\api\model\live;

use app\api\model\BaseModel;

class LiveProductText extends BaseModel
{
    protected $table = 'live_product_text';
    protected $deleteTime = 'delete_time';
    protected $autoWriteTimestamp = 'datetime';

    public function product(){
        return $this->hasOne(LiveProduct::class,'id','product_id')->field('id,name,folder,voice');
    }
}


